package com.zhuss.core.db.dao.ext;

import com.zhuss.core.db.entity.WrongWord;
import com.zhuss.bean.bo.core.wrongWord.SearchWrongWordBo;
import com.zhuss.bean.vo.core.wrongWord.ListWrongWordVo;
import com.zhuss.bean.vo.core.wrongWord.DetailWrongWordVo;
import java.util.List;
import org.apache.ibatis.annotations.*;
import com.zhuss.core.db.dao.gen.*;

/**
 * @description: 敏感字数据库Dao
 * @author: zhushanshuo
 * @create: Fri Nov 20 13:10:22 CST 2020
 **/

@Mapper
public interface WrongWordDao extends WrongWordMapper {
	
	void create(WrongWord record);
	
	void delete(WrongWord record);

	List<String> getAllName(@Param("area") Integer area);
	
	List<WrongWord> listAll(@Param("area") Integer area);

	List<WrongWord> listById(@Param("wrongWordIdList") List<Long> wrongWordIdList);
	
	List<WrongWord> listByName(@Param("name") String name);
	
	List<ListWrongWordVo> list(SearchWrongWordBo bo);
	
	Integer countList(SearchWrongWordBo bo);

	DetailWrongWordVo detail(@Param("wrongWordId") Long wrongWordId);

}
